package com.mk.cloud.common.domain;
import org.beetl.sql.core.annotatoin.AssignID;
import org.beetl.sql.core.mapper.BaseMapper;

import javax.persistence.Transient;
import java.io.Serializable;
import java.math.*;
import java.util.Date;
import java.sql.Timestamp;

/*
* 
* gen by beetlsql 2018-04-04
*/
public class PProduct   implements Serializable{
	//商品id
	@AssignID
	private String pdid ;
	//特权数量
	private Integer prcount ;
	//品牌id
	private String brid ;
	//商品主图
	private String img ;
	//商品轮播图1
	private String img1 ;
	//商品轮播图2
	private String img2 ;
	//商品轮播图3
	private String img3 ;
	//商品轮播图4
	private String img4 ;
	//商品轮播图5
	private String img5 ;
	//商品描述
	private String pddescribe ;
	//商品名称
	private String pdname ;
	//商品类型（0新店体验，1特购权商品,2体验商品）
	private String pdtype ;
	//特权价格
	private BigDecimal prprice ;
	//销售价
	private BigDecimal saleprice ;
    //体验id
	private String ppdid;
	//商品状态,0草稿,1下架,2上架
    private String pdstatus;
    //创建时间
    private String createtime;
    //发布时间
    private String publishtime;
    //发布人id
    private String pubuserid;
    //单位
    private String unit;

    //发布人姓名
    @Transient
    private String pubusername;
	//品牌名称
	@Transient
	private String brname;
	//是否新品牌
	@Transient
	private String isnewbrand;

	private String coid;

	public String getCoid() {
		return coid;
	}

	public void setCoid(String coid) {
		this.coid = coid;
	}
	
	public PProduct() {
	}

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getPpdid() {
        return ppdid;
    }

    public void setPpdid(String ppdid) {
        this.ppdid = ppdid;
    }

    public String getPdstatus() {
        return pdstatus;
    }

    public void setPdstatus(String pdstatus) {
        this.pdstatus = pdstatus;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getPublishtime() {
        return publishtime;
    }

    public void setPublishtime(String publishtime) {
        this.publishtime = publishtime;
    }

    public String getPubuserid() {
        return pubuserid;
    }

    public void setPubuserid(String pubuserid) {
        this.pubuserid = pubuserid;
    }

    public String getPubusername() {
        return pubusername;
    }

    public void setPubusername(String pubusername) {
        this.pubusername = pubusername;
    }

    public String getBrname() {
		return brname;
	}

	public void setBrname(String brname) {
		this.brname = brname;
	}

	public String getIsnewbrand() {
		return isnewbrand;
	}

	public void setIsnewbrand(String isnewbrand) {
		this.isnewbrand = isnewbrand;
	}

	public String getPdid(){
		return  pdid;
	}
	public void setPdid(String pdid ){
		this.pdid = pdid;
	}
	
	public Integer getPrcount(){
		return  prcount;
	}
	public void setPrcount(Integer prcount ){
		this.prcount = prcount;
	}
	
	public String getBrid(){
		return  brid;
	}
	public void setBrid(String brid ){
		this.brid = brid;
	}
	
	public String getImg(){
		return  img;
	}
	public void setImg(String img ){
		this.img = img;
	}
	
	public String getImg1(){
		return  img1;
	}
	public void setImg1(String img1 ){
		this.img1 = img1;
	}
	
	public String getImg2(){
		return  img2;
	}
	public void setImg2(String img2 ){
		this.img2 = img2;
	}
	
	public String getImg3(){
		return  img3;
	}
	public void setImg3(String img3 ){
		this.img3 = img3;
	}
	
	public String getImg4(){
		return  img4;
	}
	public void setImg4(String img4 ){
		this.img4 = img4;
	}
	
	public String getImg5(){
		return  img5;
	}
	public void setImg5(String img5 ){
		this.img5 = img5;
	}
	
	public String getPddescribe(){
		return  pddescribe;
	}
	public void setPddescribe(String pddescribe ){
		this.pddescribe = pddescribe;
	}
	
	public String getPdname(){
		return  pdname;
	}
	public void setPdname(String pdname ){
		this.pdname = pdname;
	}
	
	public String getPdtype(){
		return  pdtype;
	}
	public void setPdtype(String pdtype ){
		this.pdtype = pdtype;
	}
	
	public BigDecimal getPrprice(){
		return  prprice;
	}
	public void setPrprice(BigDecimal prprice ){
		this.prprice = prprice;
	}
	
	public BigDecimal getSaleprice(){
		return  saleprice;
	}
	public void setSaleprice(BigDecimal saleprice ){
		this.saleprice = saleprice;
	}

	public interface Mapper extends BaseMapper<PProduct> {
	}
	

}
